From 730381aa46fc64c0477cab521ef97fa03697f447 Mon Sep 17 00:00:00 2001 From: Daniel Kiper Date: Wed, 18 Aug 2010 16:48:25 +0100 Subject: [PATCH] tools/xenpaging: Add _XOPEN_SOURCE to fix build problems with recent gcc This patch fixes compilation issues with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). Signed-off-by: Daniel Kiper Signed-off-by: Ian Jackson --- tools/xenpaging/xenpaging.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c index 72d131161b..e6ed4a6f9f 100644 --- a/tools/xenpaging/xenpaging.c +++ b/tools/xenpaging/xenpaging.c @@ -19,6 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#define _XOPEN_SOURCE 600 #include #include -- 2.30.2